/*
 * filteredPicture.h
 *
 *  Created on: Aug 25, 2011
 *  Created by: Kevin Yang
 */

#ifndef FILTEREDPICTURE_H_
#define FILTEREDPICTURE_H_
#include "twoDimensionalPicture.h"

class filteredPicture : public twoDimensionalPicture {
private:
	int ** paddedPixels;
	int ** filteredPixels;
	int findMinMedMax(int, int, int, int);
public:
	filteredPicture();
	// copy constructor
	filteredPicture(const filteredPicture &source);
	// overloaded assignment operator
	filteredPicture& operator=(const filteredPicture &source);
	virtual ~filteredPicture();
	void medianFilterPicture();
	// debugging methods
	void printPaddedPixels();
	void printFilteredPixels();


};

#endif /* FILTEREDPICTURE_H_ */
